package com.jly.io;

import java.io.InputStream;

public class Resources {


    //根绝配置文件路径，将配置文件加载成字节输入流，存储在内存中
    public static InputStream getResourceAsInputStream(String path){

        InputStream inputStream = Resources.class.getClassLoader().getResourceAsStream(path);

        return inputStream;
    }



}
